$(function () {
  showBanner();

  $("#blog-btn").on("click", () => {
    gotoLink("http://blog.lifepoem.fun");
  });
  $("#diary-btn").on("click", () => {
    gotoLink("http://diary.lifepoem.fun");
  });
  $("#filestore-btn").on("click", () => {
    gotoLink("http://filestore.lifepoem.fun");
  });
  
});

function showBanner() {
  console.log(`         __             __                
    /    / /              /  |               
   (      (     ___      (___| ___  ___  _ _ 
   |   )| |___ |___)     |    |   )|___)| | )
   |__/ | |    |__       |    |__/ |__  |  / 
   
   
   
    /  |      /                    
   (   | ___ (  ___  ___  _ _  ___ 
   | / )|___)| |    |   )| | )|___)
   |/|/ |__  | |__  |__/ |  / |__  
   
   `);
}

function gotoLink(link) {
  console.log(`跳转${link}`);
  window.open(link);
}
